<script setup lang="ts">
function a() {
    alert('hello!');
}
</script>

<template>
    <div class="r">
        <van-button @click="a()" type="primary">登录</van-button>
        <van-button type="primary">注册</van-button>
    </div>
</template>

<style scoped>
.r {
    display: flex;
    gap: 10px;
    flex-direction: column;
    flex-grow: 1;
    padding: 3vh;
}

.r button {
    margin: 0 auto;
}
</style>
